package com.virus.coronavirus.model.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: Bbeginner
 * @Date: 2021/2/4 14:38
 * @Version 1.0
 **/
@Data
public class AreaVO {
    private Long id;

    @NotBlank(message = "中高风险地名不能为空")
    private String placename;

    @NotBlank(message = "经度不能为空")
    private String rlng;

    @NotBlank(message = "纬度不能为空")
    private String rlat;

    @NotNull(message = "中心经度不能为空")
    private Double clng;

    @NotNull(message = "中心纬度不能为空")
    private Double clat;

    @NotNull(message = "组成中高风险地区的经纬度不能为空")
    private Double[] rlnglat;
}
